//
//  AppDelegate+Root.swift
//

import UIKit

extension AppDelegate {
    
    func registerAppDelegateRoot() {
        setRootViewController()
    }
    
    private func setRootViewController() {
        window = UIWindow(frame: UIScreen.main.bounds)
        window?.backgroundColor = UIColor.white
        
        let main = MainTabBarController()
        window?.rootViewController = main
        
        window?.makeKeyAndVisible()
    }
}
